import Vue from 'vue';
import axios from 'axios';
import App from './App.vue';
import store from './store/index';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import VueRouter from 'vue-router'
import router from './router'


Vue.config.productionTip = false
Vue.use(ElementUI)
Vue.use(VueRouter)
Vue.use(axios)
const Vm=new Vue({

  render: h => h(App),
 store,
router:router,
  beforeCreate(){
    Vue.prototype.$allbus=this
  },
}).$mount('#app')
console.log(Vm);
